#region Using
using System;
using System.Collections.Generic;
using System.Text;
using System.Collections;
#endregion Using

namespace CY.GFive.Core.Business
{
	public class VoteAnswerTemplate : Business.BusinessBase<VoteAnswerTemplate, int>
	{
		#region Fields and Properties

		private String voteAnswerConten = String.Empty;
		/// <summary>
		/// 
		/// </summary>
		public String VoteAnswerConten
		{
			get { return voteAnswerConten; }
			set
			{
				if (value != voteAnswerConten)
				{
					MarkChanged("VoteAnswerConten");
					voteAnswerConten = value;
				}
			}
		}

		#endregion Fields and Properties

		#region Constructors

		public VoteAnswerTemplate()
		{
		}

		#endregion Constructors

		#region Base overrides

		protected override void ValidationRules()
		{
		}

		protected override VoteAnswerTemplate DataSelect(int id)
		{
			return Services.DALService.VoteAnswerTemplateService.Select(id);
		}

		protected override void DataUpdate()
		{
			Services.DALService.VoteAnswerTemplateService.Update(this);
		}

		protected override void DataInsert()
		{
			Services.DALService.VoteAnswerTemplateService.Insert(this);
		}

		protected override void DataDelete()
		{
			Services.DALService.VoteAnswerTemplateService.Delete(this);
		}

		#endregion Base overrides
	}
}
